package com.example.novelweb.mapper;

import com.example.novelweb.model.entity.Tag;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.novelweb.model.vo.TagVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author PERSON
* @description 针对表【tag(标签)】的数据库操作Mapper
* @createDate 2025-01-06 20:01:03
* @Entity com.example.novelweb.model.entity.Tag
*/
public interface TagMapper extends BaseMapper<Tag> {

  List<TagVO> getTagsByNovelId(@Param("novelId") Long novelId);

  List<TagVO> listAllTags();

}




